

LIBNAME=libplayer.a
CFLAGS += -W

SRC:=	player.c \
		playerlist.c

OBJ:=$(SRC:.c=.o)

hist:all

all:$(LIBNAME)

$(LIBNAME):$(OBJ)
	$(AR) rs $@ $? && echo "done";


%.o:%.c
	$(CC) $(CFLAGS) -c -o $@ $<
	
clean:
	rm -rf *.o $(LIBNAME)
